/*
A wrapper for CTP's Api library
author: Lvsoft@gmail.com
date: 2010-07-20

This file is part of python-ctp library

python-ctp is free software; you can redistribute it and/or modify it
under the terms of the GUL Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

python-ctp is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY of FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along the python-ctp; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA
*/

//This file is auto generated! Please don't edit directly.
#ifndef STRUCT_TRADE_H
#define STRUCT_TRADE_H

#pragma warning(disable : 4996)

//#include <Python.h>
#ifdef _DEBUG
#undef _DEBUG   //links to pythonxx.lib
#include <Python.h>
#define _DEBUG
#else
#include <Python.h>
#endif

#include "ThostFtdcUserApiStruct.h"

PyObject * register_struct(PyObject * self, PyObject * args);
PyObject * new_CThostFtdcTransferQryDetailRspField(CThostFtdcTransferQryDetailRspField * p);
CThostFtdcTransferQryDetailRspField * from_CThostFtdcTransferQryDetailRspField(PyObject * p);
PyObject * new_CThostFtdcInvestorAccountField(CThostFtdcInvestorAccountField * p);
CThostFtdcInvestorAccountField * from_CThostFtdcInvestorAccountField(PyObject * p);
PyObject * new_CThostFtdcNoticeField(CThostFtdcNoticeField * p);
CThostFtdcNoticeField * from_CThostFtdcNoticeField(PyObject * p);
PyObject * new_CThostFtdcQryCommRateModelField(CThostFtdcQryCommRateModelField * p);
CThostFtdcQryCommRateModelField * from_CThostFtdcQryCommRateModelField(PyObject * p);
PyObject * new_CThostFtdcBrokerSyncField(CThostFtdcBrokerSyncField * p);
CThostFtdcBrokerSyncField * from_CThostFtdcBrokerSyncField(PyObject * p);
PyObject * new_CThostFtdcQryInvestorPositionField(CThostFtdcQryInvestorPositionField * p);
CThostFtdcQryInvestorPositionField * from_CThostFtdcQryInvestorPositionField(PyObject * p);
PyObject * new_CThostFtdcDepositResultInformField(CThostFtdcDepositResultInformField * p);
CThostFtdcDepositResultInformField * from_CThostFtdcDepositResultInformField(PyObject * p);
PyObject * new_CThostFtdcInvestorGroupField(CThostFtdcInvestorGroupField * p);
CThostFtdcInvestorGroupField * from_CThostFtdcInvestorGroupField(PyObject * p);
PyObject * new_CThostFtdcDiscountField(CThostFtdcDiscountField * p);
CThostFtdcDiscountField * from_CThostFtdcDiscountField(PyObject * p);
PyObject * new_CThostFtdcBrokerUserField(CThostFtdcBrokerUserField * p);
CThostFtdcBrokerUserField * from_CThostFtdcBrokerUserField(PyObject * p);
PyObject * new_CThostFtdcQryOrderField(CThostFtdcQryOrderField * p);
CThostFtdcQryOrderField * from_CThostFtdcQryOrderField(PyObject * p);
PyObject * new_CThostFtdcExchangeField(CThostFtdcExchangeField * p);
CThostFtdcExchangeField * from_CThostFtdcExchangeField(PyObject * p);
PyObject * new_CThostFtdcReqQueryAccountField(CThostFtdcReqQueryAccountField * p);
CThostFtdcReqQueryAccountField * from_CThostFtdcReqQueryAccountField(PyObject * p);
PyObject * new_CThostFtdcCancelAccountField(CThostFtdcCancelAccountField * p);
CThostFtdcCancelAccountField * from_CThostFtdcCancelAccountField(PyObject * p);
PyObject * new_CThostFtdcTransferHeaderField(CThostFtdcTransferHeaderField * p);
CThostFtdcTransferHeaderField * from_CThostFtdcTransferHeaderField(PyObject * p);
PyObject * new_CThostFtdcFrontStatusField(CThostFtdcFrontStatusField * p);
CThostFtdcFrontStatusField * from_CThostFtdcFrontStatusField(PyObject * p);
PyObject * new_CThostFtdcInvestorPositionField(CThostFtdcInvestorPositionField * p);
CThostFtdcInvestorPositionField * from_CThostFtdcInvestorPositionField(PyObject * p);
PyObject * new_CThostFtdcQryExchangeSequenceField(CThostFtdcQryExchangeSequenceField * p);
CThostFtdcQryExchangeSequenceField * from_CThostFtdcQryExchangeSequenceField(PyObject * p);
PyObject * new_CThostFtdcQryLinkManField(CThostFtdcQryLinkManField * p);
CThostFtdcQryLinkManField * from_CThostFtdcQryLinkManField(PyObject * p);
PyObject * new_CThostFtdcQryTransferSerialField(CThostFtdcQryTransferSerialField * p);
CThostFtdcQryTransferSerialField * from_CThostFtdcQryTransferSerialField(PyObject * p);
PyObject * new_CThostFtdcExchangeOrderActionErrorField(CThostFtdcExchangeOrderActionErrorField * p);
CThostFtdcExchangeOrderActionErrorField * from_CThostFtdcExchangeOrderActionErrorField(PyObject * p);
PyObject * new_CThostFtdcInvestorWithdrawAlgorithmField(CThostFtdcInvestorWithdrawAlgorithmField * p);
CThostFtdcInvestorWithdrawAlgorithmField * from_CThostFtdcInvestorWithdrawAlgorithmField(PyObject * p);
PyObject * new_CThostFtdcQryHisOrderField(CThostFtdcQryHisOrderField * p);
CThostFtdcQryHisOrderField * from_CThostFtdcQryHisOrderField(PyObject * p);
PyObject * new_CThostFtdcSyncingInstrumentTradingRightField(CThostFtdcSyncingInstrumentTradingRightField * p);
CThostFtdcSyncingInstrumentTradingRightField * from_CThostFtdcSyncingInstrumentTradingRightField(PyObject * p);
PyObject * new_CThostFtdcQryTradingCodeField(CThostFtdcQryTradingCodeField * p);
CThostFtdcQryTradingCodeField * from_CThostFtdcQryTradingCodeField(PyObject * p);
PyObject * new_CThostFtdcRspUserLoginField(CThostFtdcRspUserLoginField * p);
CThostFtdcRspUserLoginField * from_CThostFtdcRspUserLoginField(PyObject * p);
PyObject * new_CThostFtdcSyncingInvestorField(CThostFtdcSyncingInvestorField * p);
CThostFtdcSyncingInvestorField * from_CThostFtdcSyncingInvestorField(PyObject * p);
PyObject * new_CThostFtdcQryInvestorPositionDetailField(CThostFtdcQryInvestorPositionDetailField * p);
CThostFtdcQryInvestorPositionDetailField * from_CThostFtdcQryInvestorPositionDetailField(PyObject * p);
PyObject * new_CThostFtdcInvestorPositionDetailField(CThostFtdcInvestorPositionDetailField * p);
CThostFtdcInvestorPositionDetailField * from_CThostFtdcInvestorPositionDetailField(PyObject * p);
PyObject * new_CThostFtdcExchangeOrderField(CThostFtdcExchangeOrderField * p);
CThostFtdcExchangeOrderField * from_CThostFtdcExchangeOrderField(PyObject * p);
PyObject * new_CThostFtdcRspQueryAccountField(CThostFtdcRspQueryAccountField * p);
CThostFtdcRspQueryAccountField * from_CThostFtdcRspQueryAccountField(PyObject * p);
PyObject * new_CThostFtdcQrySettlementInfoConfirmField(CThostFtdcQrySettlementInfoConfirmField * p);
CThostFtdcQrySettlementInfoConfirmField * from_CThostFtdcQrySettlementInfoConfirmField(PyObject * p);
PyObject * new_CThostFtdcOpenAccountField(CThostFtdcOpenAccountField * p);
CThostFtdcOpenAccountField * from_CThostFtdcOpenAccountField(PyObject * p);
PyObject * new_CThostFtdcQryTradingNoticeField(CThostFtdcQryTradingNoticeField * p);
CThostFtdcQryTradingNoticeField * from_CThostFtdcQryTradingNoticeField(PyObject * p);
PyObject * new_CThostFtdcQryErrOrderField(CThostFtdcQryErrOrderField * p);
CThostFtdcQryErrOrderField * from_CThostFtdcQryErrOrderField(PyObject * p);
PyObject * new_CThostFtdcManualSyncBrokerUserOTPField(CThostFtdcManualSyncBrokerUserOTPField * p);
CThostFtdcManualSyncBrokerUserOTPField * from_CThostFtdcManualSyncBrokerUserOTPField(PyObject * p);
PyObject * new_CThostFtdcDepthMarketDataField(CThostFtdcDepthMarketDataField * p);
CThostFtdcDepthMarketDataField * from_CThostFtdcDepthMarketDataField(PyObject * p);
PyObject * new_CThostFtdcTraderOfferField(CThostFtdcTraderOfferField * p);
CThostFtdcTraderOfferField * from_CThostFtdcTraderOfferField(PyObject * p);
PyObject * new_CThostFtdcCFMMCBrokerKeyField(CThostFtdcCFMMCBrokerKeyField * p);
CThostFtdcCFMMCBrokerKeyField * from_CThostFtdcCFMMCBrokerKeyField(PyObject * p);
PyObject * new_CThostFtdcQryDepthMarketDataField(CThostFtdcQryDepthMarketDataField * p);
CThostFtdcQryDepthMarketDataField * from_CThostFtdcQryDepthMarketDataField(PyObject * p);
PyObject * new_CThostFtdcTransferQryDetailReqField(CThostFtdcTransferQryDetailReqField * p);
CThostFtdcTransferQryDetailReqField * from_CThostFtdcTransferQryDetailReqField(PyObject * p);
PyObject * new_CThostFtdcBrokerWithdrawAlgorithmField(CThostFtdcBrokerWithdrawAlgorithmField * p);
CThostFtdcBrokerWithdrawAlgorithmField * from_CThostFtdcBrokerWithdrawAlgorithmField(PyObject * p);
PyObject * new_CThostFtdcMarketDataExchangeField(CThostFtdcMarketDataExchangeField * p);
CThostFtdcMarketDataExchangeField * from_CThostFtdcMarketDataExchangeField(PyObject * p);
PyObject * new_CThostFtdcExchangeOrderInsertErrorField(CThostFtdcExchangeOrderInsertErrorField * p);
CThostFtdcExchangeOrderInsertErrorField * from_CThostFtdcExchangeOrderInsertErrorField(PyObject * p);
PyObject * new_CThostFtdcQrySuperUserFunctionField(CThostFtdcQrySuperUserFunctionField * p);
CThostFtdcQrySuperUserFunctionField * from_CThostFtdcQrySuperUserFunctionField(PyObject * p);
PyObject * new_CThostFtdcRspRepealField(CThostFtdcRspRepealField * p);
CThostFtdcRspRepealField * from_CThostFtdcRspRepealField(PyObject * p);
PyObject * new_CThostFtdcQryTradeField(CThostFtdcQryTradeField * p);
CThostFtdcQryTradeField * from_CThostFtdcQryTradeField(PyObject * p);
PyObject * new_CThostFtdcTradingNoticeInfoField(CThostFtdcTradingNoticeInfoField * p);
CThostFtdcTradingNoticeInfoField * from_CThostFtdcTradingNoticeInfoField(PyObject * p);
PyObject * new_CThostFtdcErrOrderField(CThostFtdcErrOrderField * p);
CThostFtdcErrOrderField * from_CThostFtdcErrOrderField(PyObject * p);
PyObject * new_CThostFtdcContractBankField(CThostFtdcContractBankField * p);
CThostFtdcContractBankField * from_CThostFtdcContractBankField(PyObject * p);
PyObject * new_CThostFtdcQryParkedOrderActionField(CThostFtdcQryParkedOrderActionField * p);
CThostFtdcQryParkedOrderActionField * from_CThostFtdcQryParkedOrderActionField(PyObject * p);
PyObject * new_CThostFtdcProductField(CThostFtdcProductField * p);
CThostFtdcProductField * from_CThostFtdcProductField(PyObject * p);
PyObject * new_CThostFtdcQryCFMMCBrokerKeyField(CThostFtdcQryCFMMCBrokerKeyField * p);
CThostFtdcQryCFMMCBrokerKeyField * from_CThostFtdcQryCFMMCBrokerKeyField(PyObject * p);
PyObject * new_CThostFtdcBrokerTradingAlgosField(CThostFtdcBrokerTradingAlgosField * p);
CThostFtdcBrokerTradingAlgosField * from_CThostFtdcBrokerTradingAlgosField(PyObject * p);
PyObject * new_CThostFtdcTransferQryBankReqField(CThostFtdcTransferQryBankReqField * p);
CThostFtdcTransferQryBankReqField * from_CThostFtdcTransferQryBankReqField(PyObject * p);
PyObject * new_CThostFtdcReqChangeAccountField(CThostFtdcReqChangeAccountField * p);
CThostFtdcReqChangeAccountField * from_CThostFtdcReqChangeAccountField(PyObject * p);
PyObject * new_CThostFtdcCommPhaseField(CThostFtdcCommPhaseField * p);
CThostFtdcCommPhaseField * from_CThostFtdcCommPhaseField(PyObject * p);
PyObject * new_CThostFtdcQryTraderOfferField(CThostFtdcQryTraderOfferField * p);
CThostFtdcQryTraderOfferField * from_CThostFtdcQryTraderOfferField(PyObject * p);
PyObject * new_CThostFtdcTransferFutureToBankReqField(CThostFtdcTransferFutureToBankReqField * p);
CThostFtdcTransferFutureToBankReqField * from_CThostFtdcTransferFutureToBankReqField(PyObject * p);
PyObject * new_CThostFtdcReqCancelAccountField(CThostFtdcReqCancelAccountField * p);
CThostFtdcReqCancelAccountField * from_CThostFtdcReqCancelAccountField(PyObject * p);
PyObject * new_CThostFtdcMarketDataLastMatchField(CThostFtdcMarketDataLastMatchField * p);
CThostFtdcMarketDataLastMatchField * from_CThostFtdcMarketDataLastMatchField(PyObject * p);
PyObject * new_CThostFtdcSuperUserFunctionField(CThostFtdcSuperUserFunctionField * p);
CThostFtdcSuperUserFunctionField * from_CThostFtdcSuperUserFunctionField(PyObject * p);
PyObject * new_CThostFtdcParkedOrderActionField(CThostFtdcParkedOrderActionField * p);
CThostFtdcParkedOrderActionField * from_CThostFtdcParkedOrderActionField(PyObject * p);
PyObject * new_CThostFtdcUserSessionField(CThostFtdcUserSessionField * p);
CThostFtdcUserSessionField * from_CThostFtdcUserSessionField(PyObject * p);
PyObject * new_CThostFtdcQueryMaxOrderVolumeWithPriceField(CThostFtdcQueryMaxOrderVolumeWithPriceField * p);
CThostFtdcQueryMaxOrderVolumeWithPriceField * from_CThostFtdcQueryMaxOrderVolumeWithPriceField(PyObject * p);
PyObject * new_CThostFtdcTransferBankToFutureReqField(CThostFtdcTransferBankToFutureReqField * p);
CThostFtdcTransferBankToFutureReqField * from_CThostFtdcTransferBankToFutureReqField(PyObject * p);
PyObject * new_CThostFtdcInstrumentStatusField(CThostFtdcInstrumentStatusField * p);
CThostFtdcInstrumentStatusField * from_CThostFtdcInstrumentStatusField(PyObject * p);
PyObject * new_CThostFtdcQryCFMMCTradingAccountKeyField(CThostFtdcQryCFMMCTradingAccountKeyField * p);
CThostFtdcQryCFMMCTradingAccountKeyField * from_CThostFtdcQryCFMMCTradingAccountKeyField(PyObject * p);
PyObject * new_CThostFtdcQryContractBankField(CThostFtdcQryContractBankField * p);
CThostFtdcQryContractBankField * from_CThostFtdcQryContractBankField(PyObject * p);
PyObject * new_CThostFtdcSyncingTradingCodeField(CThostFtdcSyncingTradingCodeField * p);
CThostFtdcSyncingTradingCodeField * from_CThostFtdcSyncingTradingCodeField(PyObject * p);
PyObject * new_CThostFtdcQryEWarrantOffsetField(CThostFtdcQryEWarrantOffsetField * p);
CThostFtdcQryEWarrantOffsetField * from_CThostFtdcQryEWarrantOffsetField(PyObject * p);
PyObject * new_CThostFtdcQryBrokerTradingParamsField(CThostFtdcQryBrokerTradingParamsField * p);
CThostFtdcQryBrokerTradingParamsField * from_CThostFtdcQryBrokerTradingParamsField(PyObject * p);
PyObject * new_CThostFtdcSyncingTradingAccountField(CThostFtdcSyncingTradingAccountField * p);
CThostFtdcSyncingTradingAccountField * from_CThostFtdcSyncingTradingAccountField(PyObject * p);
PyObject * new_CThostFtdcQryExchangeOrderField(CThostFtdcQryExchangeOrderField * p);
CThostFtdcQryExchangeOrderField * from_CThostFtdcQryExchangeOrderField(PyObject * p);
PyObject * new_CThostFtdcChangeAccountField(CThostFtdcChangeAccountField * p);
CThostFtdcChangeAccountField * from_CThostFtdcChangeAccountField(PyObject * p);
PyObject * new_CThostFtdcInstrumentField(CThostFtdcInstrumentField * p);
CThostFtdcInstrumentField * from_CThostFtdcInstrumentField(PyObject * p);
PyObject * new_CThostFtdcQryBrokerTradingAlgosField(CThostFtdcQryBrokerTradingAlgosField * p);
CThostFtdcQryBrokerTradingAlgosField * from_CThostFtdcQryBrokerTradingAlgosField(PyObject * p);
PyObject * new_CThostFtdcReqTransferField(CThostFtdcReqTransferField * p);
CThostFtdcReqTransferField * from_CThostFtdcReqTransferField(PyObject * p);
PyObject * new_CThostFtdcVerifyFuturePasswordAndCustInfoField(CThostFtdcVerifyFuturePasswordAndCustInfoField * p);
CThostFtdcVerifyFuturePasswordAndCustInfoField * from_CThostFtdcVerifyFuturePasswordAndCustInfoField(PyObject * p);
PyObject * new_CThostFtdcLogoutAllField(CThostFtdcLogoutAllField * p);
CThostFtdcLogoutAllField * from_CThostFtdcLogoutAllField(PyObject * p);
PyObject * new_CThostFtdcMarketDataStaticField(CThostFtdcMarketDataStaticField * p);
CThostFtdcMarketDataStaticField * from_CThostFtdcMarketDataStaticField(PyObject * p);
PyObject * new_CThostFtdcTradingCodeField(CThostFtdcTradingCodeField * p);
CThostFtdcTradingCodeField * from_CThostFtdcTradingCodeField(PyObject * p);
PyObject * new_CThostFtdcRspInfoField(CThostFtdcRspInfoField * p);
CThostFtdcRspInfoField * from_CThostFtdcRspInfoField(PyObject * p);
PyObject * new_CThostFtdcQrySuperUserField(CThostFtdcQrySuperUserField * p);
CThostFtdcQrySuperUserField * from_CThostFtdcQrySuperUserField(PyObject * p);
PyObject * new_CThostFtdcQryInstrumentMarginRateField(CThostFtdcQryInstrumentMarginRateField * p);
CThostFtdcQryInstrumentMarginRateField * from_CThostFtdcQryInstrumentMarginRateField(PyObject * p);
PyObject * new_CThostFtdcQryInvestorGroupField(CThostFtdcQryInvestorGroupField * p);
CThostFtdcQryInvestorGroupField * from_CThostFtdcQryInvestorGroupField(PyObject * p);
PyObject * new_CThostFtdcReqRepealField(CThostFtdcReqRepealField * p);
CThostFtdcReqRepealField * from_CThostFtdcReqRepealField(PyObject * p);
PyObject * new_CThostFtdcTradingAccountPasswordUpdateV1Field(CThostFtdcTradingAccountPasswordUpdateV1Field * p);
CThostFtdcTradingAccountPasswordUpdateV1Field * from_CThostFtdcTradingAccountPasswordUpdateV1Field(PyObject * p);
PyObject * new_CThostFtdcExchangeTradeField(CThostFtdcExchangeTradeField * p);
CThostFtdcExchangeTradeField * from_CThostFtdcExchangeTradeField(PyObject * p);
PyObject * new_CThostFtdcQryUserSessionField(CThostFtdcQryUserSessionField * p);
CThostFtdcQryUserSessionField * from_CThostFtdcQryUserSessionField(PyObject * p);
PyObject * new_CThostFtdcTradingNoticeField(CThostFtdcTradingNoticeField * p);
CThostFtdcTradingNoticeField * from_CThostFtdcTradingNoticeField(PyObject * p);
PyObject * new_CThostFtdcReqSyncKeyField(CThostFtdcReqSyncKeyField * p);
CThostFtdcReqSyncKeyField * from_CThostFtdcReqSyncKeyField(PyObject * p);
PyObject * new_CThostFtdcQryBrokerUserField(CThostFtdcQryBrokerUserField * p);
CThostFtdcQryBrokerUserField * from_CThostFtdcQryBrokerUserField(PyObject * p);
PyObject * new_CThostFtdcNotifyFutureSignInField(CThostFtdcNotifyFutureSignInField * p);
CThostFtdcNotifyFutureSignInField * from_CThostFtdcNotifyFutureSignInField(PyObject * p);
PyObject * new_CThostFtdcSyncingInstrumentCommissionRateField(CThostFtdcSyncingInstrumentCommissionRateField * p);
CThostFtdcSyncingInstrumentCommissionRateField * from_CThostFtdcSyncingInstrumentCommissionRateField(PyObject * p);
PyObject * new_CThostFtdcSyncingInstrumentMarginRateField(CThostFtdcSyncingInstrumentMarginRateField * p);
CThostFtdcSyncingInstrumentMarginRateField * from_CThostFtdcSyncingInstrumentMarginRateField(PyObject * p);
PyObject * new_CThostFtdcForceUserLogoutField(CThostFtdcForceUserLogoutField * p);
CThostFtdcForceUserLogoutField * from_CThostFtdcForceUserLogoutField(PyObject * p);
PyObject * new_CThostFtdcNotifySyncKeyField(CThostFtdcNotifySyncKeyField * p);
CThostFtdcNotifySyncKeyField * from_CThostFtdcNotifySyncKeyField(PyObject * p);
PyObject * new_CThostFtdcMarketDataBid45Field(CThostFtdcMarketDataBid45Field * p);
CThostFtdcMarketDataBid45Field * from_CThostFtdcMarketDataBid45Field(PyObject * p);
PyObject * new_CThostFtdcLinkManField(CThostFtdcLinkManField * p);
CThostFtdcLinkManField * from_CThostFtdcLinkManField(PyObject * p);
PyObject * new_CThostFtdcCommRateModelField(CThostFtdcCommRateModelField * p);
CThostFtdcCommRateModelField * from_CThostFtdcCommRateModelField(PyObject * p);
PyObject * new_CThostFtdcPositionProfitAlgorithmField(CThostFtdcPositionProfitAlgorithmField * p);
CThostFtdcPositionProfitAlgorithmField * from_CThostFtdcPositionProfitAlgorithmField(PyObject * p);
PyObject * new_CThostFtdcQryExchangeField(CThostFtdcQryExchangeField * p);
CThostFtdcQryExchangeField * from_CThostFtdcQryExchangeField(PyObject * p);
PyObject * new_CThostFtdcQueryMaxOrderVolumeField(CThostFtdcQueryMaxOrderVolumeField * p);
CThostFtdcQueryMaxOrderVolumeField * from_CThostFtdcQueryMaxOrderVolumeField(PyObject * p);
PyObject * new_CThostFtdcMarketDataUpdateTimeField(CThostFtdcMarketDataUpdateTimeField * p);
CThostFtdcMarketDataUpdateTimeField * from_CThostFtdcMarketDataUpdateTimeField(PyObject * p);
PyObject * new_CThostFtdcCombinationLegField(CThostFtdcCombinationLegField * p);
CThostFtdcCombinationLegField * from_CThostFtdcCombinationLegField(PyObject * p);
PyObject * new_CThostFtdcExchangeSequenceField(CThostFtdcExchangeSequenceField * p);
CThostFtdcExchangeSequenceField * from_CThostFtdcExchangeSequenceField(PyObject * p);
PyObject * new_CThostFtdcSettlementInfoField(CThostFtdcSettlementInfoField * p);
CThostFtdcSettlementInfoField * from_CThostFtdcSettlementInfoField(PyObject * p);
PyObject * new_CThostFtdcMDTraderOfferField(CThostFtdcMDTraderOfferField * p);
CThostFtdcMDTraderOfferField * from_CThostFtdcMDTraderOfferField(PyObject * p);
PyObject * new_CThostFtdcQryInstrumentStatusField(CThostFtdcQryInstrumentStatusField * p);
CThostFtdcQryInstrumentStatusField * from_CThostFtdcQryInstrumentStatusField(PyObject * p);
PyObject * new_CThostFtdcMarketDataAsk23Field(CThostFtdcMarketDataAsk23Field * p);
CThostFtdcMarketDataAsk23Field * from_CThostFtdcMarketDataAsk23Field(PyObject * p);
PyObject * new_CThostFtdcQryOrderActionField(CThostFtdcQryOrderActionField * p);
CThostFtdcQryOrderActionField * from_CThostFtdcQryOrderActionField(PyObject * p);
PyObject * new_CThostFtdcUserRightsAssignField(CThostFtdcUserRightsAssignField * p);
CThostFtdcUserRightsAssignField * from_CThostFtdcUserRightsAssignField(PyObject * p);
PyObject * new_CThostFtdcDisseminationField(CThostFtdcDisseminationField * p);
CThostFtdcDisseminationField * from_CThostFtdcDisseminationField(PyObject * p);
PyObject * new_CThostFtdcUserLogoutField(CThostFtdcUserLogoutField * p);
CThostFtdcUserLogoutField * from_CThostFtdcUserLogoutField(PyObject * p);
PyObject * new_CThostFtdcCurrentTimeField(CThostFtdcCurrentTimeField * p);
CThostFtdcCurrentTimeField * from_CThostFtdcCurrentTimeField(PyObject * p);
PyObject * new_CThostFtdcErrOrderActionField(CThostFtdcErrOrderActionField * p);
CThostFtdcErrOrderActionField * from_CThostFtdcErrOrderActionField(PyObject * p);
PyObject * new_CThostFtdcBrokerUserRightAssignField(CThostFtdcBrokerUserRightAssignField * p);
CThostFtdcBrokerUserRightAssignField * from_CThostFtdcBrokerUserRightAssignField(PyObject * p);
PyObject * new_CThostFtdcMarketDataBid23Field(CThostFtdcMarketDataBid23Field * p);
CThostFtdcMarketDataBid23Field * from_CThostFtdcMarketDataBid23Field(PyObject * p);
PyObject * new_CThostFtdcMarketDataBaseField(CThostFtdcMarketDataBaseField * p);
CThostFtdcMarketDataBaseField * from_CThostFtdcMarketDataBaseField(PyObject * p);
PyObject * new_CThostFtdcTradeField(CThostFtdcTradeField * p);
CThostFtdcTradeField * from_CThostFtdcTradeField(PyObject * p);
PyObject * new_CThostFtdcQryParkedOrderField(CThostFtdcQryParkedOrderField * p);
CThostFtdcQryParkedOrderField * from_CThostFtdcQryParkedOrderField(PyObject * p);
PyObject * new_CThostFtdcQryBrokerUserEventField(CThostFtdcQryBrokerUserEventField * p);
CThostFtdcQryBrokerUserEventField * from_CThostFtdcQryBrokerUserEventField(PyObject * p);
PyObject * new_CThostFtdcQryInstrumentCommissionRateField(CThostFtdcQryInstrumentCommissionRateField * p);
CThostFtdcQryInstrumentCommissionRateField * from_CThostFtdcQryInstrumentCommissionRateField(PyObject * p);
PyObject * new_CThostFtdcReturnResultField(CThostFtdcReturnResultField * p);
CThostFtdcReturnResultField * from_CThostFtdcReturnResultField(PyObject * p);
PyObject * new_CThostFtdcRemoveParkedOrderActionField(CThostFtdcRemoveParkedOrderActionField * p);
CThostFtdcRemoveParkedOrderActionField * from_CThostFtdcRemoveParkedOrderActionField(PyObject * p);
PyObject * new_CThostFtdcQryTraderField(CThostFtdcQryTraderField * p);
CThostFtdcQryTraderField * from_CThostFtdcQryTraderField(PyObject * p);
PyObject * new_CThostFtdcCFMMCTradingAccountKeyField(CThostFtdcCFMMCTradingAccountKeyField * p);
CThostFtdcCFMMCTradingAccountKeyField * from_CThostFtdcCFMMCTradingAccountKeyField(PyObject * p);
PyObject * new_CThostFtdcRspFutureSignOutField(CThostFtdcRspFutureSignOutField * p);
CThostFtdcRspFutureSignOutField * from_CThostFtdcRspFutureSignOutField(PyObject * p);
PyObject * new_CThostFtdcQrySyncDepositField(CThostFtdcQrySyncDepositField * p);
CThostFtdcQrySyncDepositField * from_CThostFtdcQrySyncDepositField(PyObject * p);
PyObject * new_CThostFtdcReqUserLoginField(CThostFtdcReqUserLoginField * p);
CThostFtdcReqUserLoginField * from_CThostFtdcReqUserLoginField(PyObject * p);
PyObject * new_CThostFtdcVerifyCustInfoField(CThostFtdcVerifyCustInfoField * p);
CThostFtdcVerifyCustInfoField * from_CThostFtdcVerifyCustInfoField(PyObject * p);
PyObject * new_CThostFtdcInputOrderActionField(CThostFtdcInputOrderActionField * p);
CThostFtdcInputOrderActionField * from_CThostFtdcInputOrderActionField(PyObject * p);
PyObject * new_CThostFtdcInvestorPositionCombineDetailField(CThostFtdcInvestorPositionCombineDetailField * p);
CThostFtdcInvestorPositionCombineDetailField * from_CThostFtdcInvestorPositionCombineDetailField(PyObject * p);
PyObject * new_CThostFtdcQryBrokerUserFunctionField(CThostFtdcQryBrokerUserFunctionField * p);
CThostFtdcQryBrokerUserFunctionField * from_CThostFtdcQryBrokerUserFunctionField(PyObject * p);
PyObject * new_CThostFtdcParkedOrderField(CThostFtdcParkedOrderField * p);
CThostFtdcParkedOrderField * from_CThostFtdcParkedOrderField(PyObject * p);
PyObject * new_CThostFtdcOrderActionField(CThostFtdcOrderActionField * p);
CThostFtdcOrderActionField * from_CThostFtdcOrderActionField(PyObject * p);
PyObject * new_CThostFtdcPartBrokerField(CThostFtdcPartBrokerField * p);
CThostFtdcPartBrokerField * from_CThostFtdcPartBrokerField(PyObject * p);
PyObject * new_CThostFtdcReqOpenAccountField(CThostFtdcReqOpenAccountField * p);
CThostFtdcReqOpenAccountField * from_CThostFtdcReqOpenAccountField(PyObject * p);
PyObject * new_CThostFtdcVerifyInvestorPasswordField(CThostFtdcVerifyInvestorPasswordField * p);
CThostFtdcVerifyInvestorPasswordField * from_CThostFtdcVerifyInvestorPasswordField(PyObject * p);
PyObject * new_CThostFtdcQueryBrokerDepositField(CThostFtdcQueryBrokerDepositField * p);
CThostFtdcQueryBrokerDepositField * from_CThostFtdcQueryBrokerDepositField(PyObject * p);
PyObject * new_CThostFtdcSuperUserField(CThostFtdcSuperUserField * p);
CThostFtdcSuperUserField * from_CThostFtdcSuperUserField(PyObject * p);
PyObject * new_CThostFtdcQryProductField(CThostFtdcQryProductField * p);
CThostFtdcQryProductField * from_CThostFtdcQryProductField(PyObject * p);
PyObject * new_CThostFtdcInvestorField(CThostFtdcInvestorField * p);
CThostFtdcInvestorField * from_CThostFtdcInvestorField(PyObject * p);
PyObject * new_CThostFtdcSyncStatusField(CThostFtdcSyncStatusField * p);
CThostFtdcSyncStatusField * from_CThostFtdcSyncStatusField(PyObject * p);
PyObject * new_CThostFtdcInstrumentTradingRightField(CThostFtdcInstrumentTradingRightField * p);
CThostFtdcInstrumentTradingRightField * from_CThostFtdcInstrumentTradingRightField(PyObject * p);
PyObject * new_CThostFtdcTransferQryBankRspField(CThostFtdcTransferQryBankRspField * p);
CThostFtdcTransferQryBankRspField * from_CThostFtdcTransferQryBankRspField(PyObject * p);
PyObject * new_CThostFtdcAccountregisterField(CThostFtdcAccountregisterField * p);
CThostFtdcAccountregisterField * from_CThostFtdcAccountregisterField(PyObject * p);
PyObject * new_CThostFtdcBrokerDepositField(CThostFtdcBrokerDepositField * p);
CThostFtdcBrokerDepositField * from_CThostFtdcBrokerDepositField(PyObject * p);
PyObject * new_CThostFtdcErrorConditionalOrderField(CThostFtdcErrorConditionalOrderField * p);
CThostFtdcErrorConditionalOrderField * from_CThostFtdcErrorConditionalOrderField(PyObject * p);
PyObject * new_CThostFtdcDRTransferField(CThostFtdcDRTransferField * p);
CThostFtdcDRTransferField * from_CThostFtdcDRTransferField(PyObject * p);
PyObject * new_CThostFtdcBrokerTradingParamsField(CThostFtdcBrokerTradingParamsField * p);
CThostFtdcBrokerTradingParamsField * from_CThostFtdcBrokerTradingParamsField(PyObject * p);
PyObject * new_CThostFtdcRemoveParkedOrderField(CThostFtdcRemoveParkedOrderField * p);
CThostFtdcRemoveParkedOrderField * from_CThostFtdcRemoveParkedOrderField(PyObject * p);
PyObject * new_CThostFtdcBrokerUserPasswordField(CThostFtdcBrokerUserPasswordField * p);
CThostFtdcBrokerUserPasswordField * from_CThostFtdcBrokerUserPasswordField(PyObject * p);
PyObject * new_CThostFtdcOrderField(CThostFtdcOrderField * p);
CThostFtdcOrderField * from_CThostFtdcOrderField(PyObject * p);
PyObject * new_CThostFtdcQrySyncStatusField(CThostFtdcQrySyncStatusField * p);
CThostFtdcQrySyncStatusField * from_CThostFtdcQrySyncStatusField(PyObject * p);
PyObject * new_CThostFtdcQryErrOrderActionField(CThostFtdcQryErrOrderActionField * p);
CThostFtdcQryErrOrderActionField * from_CThostFtdcQryErrOrderActionField(PyObject * p);
PyObject * new_CThostFtdcBrokerUserOTPParamField(CThostFtdcBrokerUserOTPParamField * p);
CThostFtdcBrokerUserOTPParamField * from_CThostFtdcBrokerUserOTPParamField(PyObject * p);
PyObject * new_CThostFtdcInstrumentMarginRateAdjustField(CThostFtdcInstrumentMarginRateAdjustField * p);
CThostFtdcInstrumentMarginRateAdjustField * from_CThostFtdcInstrumentMarginRateAdjustField(PyObject * p);
PyObject * new_CThostFtdcQryInvestorField(CThostFtdcQryInvestorField * p);
CThostFtdcQryInvestorField * from_CThostFtdcQryInvestorField(PyObject * p);
PyObject * new_CThostFtdcSpecificInstrumentField(CThostFtdcSpecificInstrumentField * p);
CThostFtdcSpecificInstrumentField * from_CThostFtdcSpecificInstrumentField(PyObject * p);
PyObject * new_CThostFtdcMarketDataAsk45Field(CThostFtdcMarketDataAsk45Field * p);
CThostFtdcMarketDataAsk45Field * from_CThostFtdcMarketDataAsk45Field(PyObject * p);
PyObject * new_CThostFtdcTradingAccountPasswordUpdateField(CThostFtdcTradingAccountPasswordUpdateField * p);
CThostFtdcTradingAccountPasswordUpdateField * from_CThostFtdcTradingAccountPasswordUpdateField(PyObject * p);
PyObject * new_CThostFtdcRspQueryTradeResultBySerialField(CThostFtdcRspQueryTradeResultBySerialField * p);
CThostFtdcRspQueryTradeResultBySerialField * from_CThostFtdcRspQueryTradeResultBySerialField(PyObject * p);
PyObject * new_CThostFtdcInstrumentCommissionRateField(CThostFtdcInstrumentCommissionRateField * p);
CThostFtdcInstrumentCommissionRateField * from_CThostFtdcInstrumentCommissionRateField(PyObject * p);
PyObject * new_CThostFtdcQryInvestorPositionCombineDetailField(CThostFtdcQryInvestorPositionCombineDetailField * p);
CThostFtdcQryInvestorPositionCombineDetailField * from_CThostFtdcQryInvestorPositionCombineDetailField(PyObject * p);
PyObject * new_CThostFtdcQryTransferBankField(CThostFtdcQryTransferBankField * p);
CThostFtdcQryTransferBankField * from_CThostFtdcQryTransferBankField(PyObject * p);
PyObject * new_CThostFtdcTransferSerialField(CThostFtdcTransferSerialField * p);
CThostFtdcTransferSerialField * from_CThostFtdcTransferSerialField(PyObject * p);
PyObject * new_CThostFtdcExchangeMarginRateAdjustField(CThostFtdcExchangeMarginRateAdjustField * p);
CThostFtdcExchangeMarginRateAdjustField * from_CThostFtdcExchangeMarginRateAdjustField(PyObject * p);
PyObject * new_CThostFtdcQryFrontStatusField(CThostFtdcQryFrontStatusField * p);
CThostFtdcQryFrontStatusField * from_CThostFtdcQryFrontStatusField(PyObject * p);
PyObject * new_CThostFtdcQryNoticeField(CThostFtdcQryNoticeField * p);
CThostFtdcQryNoticeField * from_CThostFtdcQryNoticeField(PyObject * p);
PyObject * new_CThostFtdcSyncingInvestorGroupField(CThostFtdcSyncingInvestorGroupField * p);
CThostFtdcSyncingInvestorGroupField * from_CThostFtdcSyncingInvestorGroupField(PyObject * p);
PyObject * new_CThostFtdcTraderField(CThostFtdcTraderField * p);
CThostFtdcTraderField * from_CThostFtdcTraderField(PyObject * p);
PyObject * new_CThostFtdcNotifyFutureSignOutField(CThostFtdcNotifyFutureSignOutField * p);
CThostFtdcNotifyFutureSignOutField * from_CThostFtdcNotifyFutureSignOutField(PyObject * p);
PyObject * new_CThostFtdcLoginInfoField(CThostFtdcLoginInfoField * p);
CThostFtdcLoginInfoField * from_CThostFtdcLoginInfoField(PyObject * p);
PyObject * new_CThostFtdcLoadSettlementInfoField(CThostFtdcLoadSettlementInfoField * p);
CThostFtdcLoadSettlementInfoField * from_CThostFtdcLoadSettlementInfoField(PyObject * p);
PyObject * new_CThostFtdcTradingAccountPasswordField(CThostFtdcTradingAccountPasswordField * p);
CThostFtdcTradingAccountPasswordField * from_CThostFtdcTradingAccountPasswordField(PyObject * p);
PyObject * new_CThostFtdcSettlementInfoConfirmField(CThostFtdcSettlementInfoConfirmField * p);
CThostFtdcSettlementInfoConfirmField * from_CThostFtdcSettlementInfoConfirmField(PyObject * p);
PyObject * new_CThostFtdcRspTransferField(CThostFtdcRspTransferField * p);
CThostFtdcRspTransferField * from_CThostFtdcRspTransferField(PyObject * p);
PyObject * new_CThostFtdcQryExchangeOrderActionField(CThostFtdcQryExchangeOrderActionField * p);
CThostFtdcQryExchangeOrderActionField * from_CThostFtdcQryExchangeOrderActionField(PyObject * p);
PyObject * new_CThostFtdcTransferBankToFutureRspField(CThostFtdcTransferBankToFutureRspField * p);
CThostFtdcTransferBankToFutureRspField * from_CThostFtdcTransferBankToFutureRspField(PyObject * p);
PyObject * new_CThostFtdcSyncDepositField(CThostFtdcSyncDepositField * p);
CThostFtdcSyncDepositField * from_CThostFtdcSyncDepositField(PyObject * p);
PyObject * new_CThostFtdcFutureSignIOField(CThostFtdcFutureSignIOField * p);
CThostFtdcFutureSignIOField * from_CThostFtdcFutureSignIOField(PyObject * p);
PyObject * new_CThostFtdcBrokerField(CThostFtdcBrokerField * p);
CThostFtdcBrokerField * from_CThostFtdcBrokerField(PyObject * p);
PyObject * new_CThostFtdcQryInstrumentTradingRightField(CThostFtdcQryInstrumentTradingRightField * p);
CThostFtdcQryInstrumentTradingRightField * from_CThostFtdcQryInstrumentTradingRightField(PyObject * p);
PyObject * new_CThostFtdcQryAccountregisterField(CThostFtdcQryAccountregisterField * p);
CThostFtdcQryAccountregisterField * from_CThostFtdcQryAccountregisterField(PyObject * p);
PyObject * new_CThostFtdcBrokerUserEventField(CThostFtdcBrokerUserEventField * p);
CThostFtdcBrokerUserEventField * from_CThostFtdcBrokerUserEventField(PyObject * p);
PyObject * new_CThostFtdcBrokerUserFunctionField(CThostFtdcBrokerUserFunctionField * p);
CThostFtdcBrokerUserFunctionField * from_CThostFtdcBrokerUserFunctionField(PyObject * p);
PyObject * new_CThostFtdcTradingAccountField(CThostFtdcTradingAccountField * p);
CThostFtdcTradingAccountField * from_CThostFtdcTradingAccountField(PyObject * p);
PyObject * new_CThostFtdcTransferBankField(CThostFtdcTransferBankField * p);
CThostFtdcTransferBankField * from_CThostFtdcTransferBankField(PyObject * p);
PyObject * new_CThostFtdcRspSyncKeyField(CThostFtdcRspSyncKeyField * p);
CThostFtdcRspSyncKeyField * from_CThostFtdcRspSyncKeyField(PyObject * p);
PyObject * new_CThostFtdcExchangeOrderActionField(CThostFtdcExchangeOrderActionField * p);
CThostFtdcExchangeOrderActionField * from_CThostFtdcExchangeOrderActionField(PyObject * p);
PyObject * new_CThostFtdcInstrumentMarginRateField(CThostFtdcInstrumentMarginRateField * p);
CThostFtdcInstrumentMarginRateField * from_CThostFtdcInstrumentMarginRateField(PyObject * p);
PyObject * new_CThostFtdcMarketDataAveragePriceField(CThostFtdcMarketDataAveragePriceField * p);
CThostFtdcMarketDataAveragePriceField * from_CThostFtdcMarketDataAveragePriceField(PyObject * p);
PyObject * new_CThostFtdcQryMDTraderOfferField(CThostFtdcQryMDTraderOfferField * p);
CThostFtdcQryMDTraderOfferField * from_CThostFtdcQryMDTraderOfferField(PyObject * p);
PyObject * new_CThostFtdcReqQueryTradeResultBySerialField(CThostFtdcReqQueryTradeResultBySerialField * p);
CThostFtdcReqQueryTradeResultBySerialField * from_CThostFtdcReqQueryTradeResultBySerialField(PyObject * p);
PyObject * new_CThostFtdcUserPasswordUpdateField(CThostFtdcUserPasswordUpdateField * p);
CThostFtdcUserPasswordUpdateField * from_CThostFtdcUserPasswordUpdateField(PyObject * p);
PyObject * new_CThostFtdcNotifyQueryAccountField(CThostFtdcNotifyQueryAccountField * p);
CThostFtdcNotifyQueryAccountField * from_CThostFtdcNotifyQueryAccountField(PyObject * p);
PyObject * new_CThostFtdcMarketDataField(CThostFtdcMarketDataField * p);
CThostFtdcMarketDataField * from_CThostFtdcMarketDataField(PyObject * p);
PyObject * new_CThostFtdcEWarrantOffsetField(CThostFtdcEWarrantOffsetField * p);
CThostFtdcEWarrantOffsetField * from_CThostFtdcEWarrantOffsetField(PyObject * p);
PyObject * new_CThostFtdcUserIPField(CThostFtdcUserIPField * p);
CThostFtdcUserIPField * from_CThostFtdcUserIPField(PyObject * p);
PyObject * new_CThostFtdcQryBrokerField(CThostFtdcQryBrokerField * p);
CThostFtdcQryBrokerField * from_CThostFtdcQryBrokerField(PyObject * p);
PyObject * new_CThostFtdcQryPartBrokerField(CThostFtdcQryPartBrokerField * p);
CThostFtdcQryPartBrokerField * from_CThostFtdcQryPartBrokerField(PyObject * p);
PyObject * new_CThostFtdcSettlementRefField(CThostFtdcSettlementRefField * p);
CThostFtdcSettlementRefField * from_CThostFtdcSettlementRefField(PyObject * p);
PyObject * new_CThostFtdcReqFutureSignOutField(CThostFtdcReqFutureSignOutField * p);
CThostFtdcReqFutureSignOutField * from_CThostFtdcReqFutureSignOutField(PyObject * p);
PyObject * new_CThostFtdcTransferFutureToBankRspField(CThostFtdcTransferFutureToBankRspField * p);
CThostFtdcTransferFutureToBankRspField * from_CThostFtdcTransferFutureToBankRspField(PyObject * p);
PyObject * new_CThostFtdcQryCombinationLegField(CThostFtdcQryCombinationLegField * p);
CThostFtdcQryCombinationLegField * from_CThostFtdcQryCombinationLegField(PyObject * p);
PyObject * new_CThostFtdcExchangeMarginRateField(CThostFtdcExchangeMarginRateField * p);
CThostFtdcExchangeMarginRateField * from_CThostFtdcExchangeMarginRateField(PyObject * p);
PyObject * new_CThostFtdcReqDayEndFileReadyField(CThostFtdcReqDayEndFileReadyField * p);
CThostFtdcReqDayEndFileReadyField * from_CThostFtdcReqDayEndFileReadyField(PyObject * p);
PyObject * new_CThostFtdcQryTradingAccountField(CThostFtdcQryTradingAccountField * p);
CThostFtdcQryTradingAccountField * from_CThostFtdcQryTradingAccountField(PyObject * p);
PyObject * new_CThostFtdcUserRightField(CThostFtdcUserRightField * p);
CThostFtdcUserRightField * from_CThostFtdcUserRightField(PyObject * p);
PyObject * new_CThostFtdcInputOrderField(CThostFtdcInputOrderField * p);
CThostFtdcInputOrderField * from_CThostFtdcInputOrderField(PyObject * p);
PyObject * new_CThostFtdcVerifyFuturePasswordField(CThostFtdcVerifyFuturePasswordField * p);
CThostFtdcVerifyFuturePasswordField * from_CThostFtdcVerifyFuturePasswordField(PyObject * p);
PyObject * new_CThostFtdcSyncingInvestorPositionField(CThostFtdcSyncingInvestorPositionField * p);
CThostFtdcSyncingInvestorPositionField * from_CThostFtdcSyncingInvestorPositionField(PyObject * p);
PyObject * new_CThostFtdcQrySettlementInfoField(CThostFtdcQrySettlementInfoField * p);
CThostFtdcQrySettlementInfoField * from_CThostFtdcQrySettlementInfoField(PyObject * p);
PyObject * new_CThostFtdcRspFutureSignInField(CThostFtdcRspFutureSignInField * p);
CThostFtdcRspFutureSignInField * from_CThostFtdcRspFutureSignInField(PyObject * p);
PyObject * new_CThostFtdcQryInstrumentField(CThostFtdcQryInstrumentField * p);
CThostFtdcQryInstrumentField * from_CThostFtdcQryInstrumentField(PyObject * p);
PyObject * new_CThostFtdcMarketDataBestPriceField(CThostFtdcMarketDataBestPriceField * p);
CThostFtdcMarketDataBestPriceField * from_CThostFtdcMarketDataBestPriceField(PyObject * p);
#endif
